package com.sdb.docters.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.sdb.common.annotation.Excel;
import com.sdb.common.core.domain.BaseEntity;

import java.math.BigInteger;

/**
 * 医生信息对象 td_docters
 * 
 * @author yyh
 * @date 2024-12-26
 */
public class TdDocters extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 医生id */
    private Long docterId;

    /** 科室id */
    @Excel(name = "科室id")
    private Long departmentCode;

    /** 医生姓名 */
    @Excel(name = "医生姓名")
    private String docterName;

    /** 医生编码 */
    @Excel(name = "医生编码")
    private String docterCode;

    /** 医生年龄 */
    private Long age;

    /** 医生电话 */
    private String phone;

    private String title;

    private Integer departmentId;

    private BigInteger userId;

    private String userName;

    private String deptName;

    private char sex;

    public Integer getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(Integer departmentId) {
        this.departmentId = departmentId;
    }

    public void setDocterId(Long docterId)
    {
        this.docterId = docterId;
    }

    public Long getDocterId() 
    {
        return docterId;
    }
    public void setDepartmentCode(Long departmentCode) 
    {
        this.departmentCode = departmentCode;
    }

    public Long getDepartmentCode() 
    {
        return departmentCode;
    }
    public void setDocterName(String docterName) 
    {
        this.docterName = docterName;
    }

    public String getDocterName() 
    {
        return docterName;
    }
    public void setDocterCode(String docterCode) 
    {
        this.docterCode = docterCode;
    }

    public String getDocterCode() 
    {
        return docterCode;
    }
    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }
    public void setPhone(String phone) 
    {
        this.phone = phone;
    }

    public String getPhone() 
    {
        return phone;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public BigInteger getUserId() {
        return userId;
    }

    public void setUserId(BigInteger user_id) {
        this.userId = user_id;
    }


    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public char getSex() {
        return sex;
    }

    public void setSex(char sex) {
        this.sex = sex;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("docterId", getDocterId())
            .append("departmentCode", getDepartmentCode())
            .append("docterName", getDocterName())
            .append("docterCode", getDocterCode())
            .append("age", getAge())
            .append("phone", getPhone())
            .append("createTime", getCreateTime())
                .append(("title"),getTitle())
                .append(("userId"),getUserId())
                .append(("departName"),getDeptName())
                .append(("userName"),getUserName())
                .append(("sex"),getSex())
            .toString();
    }
}
